package com.baway.notice.api

import com.baway.home.model.NoticeResult
import com.bw.lib_common.api.BaseApiServer
import com.bw.lib_common.entity.BaseResponse
import retrofit2.http.GET
import retrofit2.http.Query

interface NoticeApiServer: BaseApiServer {

    @GET("/api/announcements")
    suspend fun getNotice(@Query("page")page:Int,  @Query("size")size:Int): BaseResponse<List<NoticeResult>>



}